package top.yaofengqiao.springcloudsimple.auth.biz.domain.security.model;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author yfq
 * @date 2024/5/31 15:23
 * @description 客户端
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class Client {
    // 客户端id
    private String clientId;
    // 资源id
    private String resourceIds;
    //
    private Boolean secretRequire;
    // 密钥
    private String clientSecret;
    private Boolean scopeRequire;
    // 授权范围
    private String scope;
    private String authorizedGrantTypes;
    private String webServerRedirectUri;
    private String authorities;
    private Integer accessTokenValidity;
    private Integer refreshTokenValidity;
}
